﻿@using System.Web.Mvc.Html
@using System.Web.Mvc
@inherits System.Web.Mvc.WebViewPage

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>@ViewBag.Title</title>
<link href="@Url.Content("~/Content/themes/minimalism_line/style.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
</head>
<body>
<div id="wrapper">

<div id="top-bar">
	<div id="top-bar-inside">
		<div id="top-bar-content">
            @Html.Partial("~/Views/Shared/_LogOnPartial.cshtml")
		</div>
	</div>
</div>

<div id="header">
	<div id="header-inside">
		<div id="logo">
            <h1>@Html.ActionLink("My \"Coticula\" project", "Index", "Home")</h1>
		</div>
		<ul id="top-menu">
			<li>@Html.ActionLink("Submit", "Index", "Submit")</li>
			<li>@Html.ActionLink("Solutions", "Index", "Solution")</li>
			<li>@Html.ActionLink("Problems", "Index", "Problem")</li>
		</ul>
	</div> <!-- header-inside -->
</div> <!-- header -->


<div id="main">

	<div id="container">
		<div id="content">
            @if (ViewBag.PageMenu != null && ViewBag.PageMenu is Array && ViewBag.PageMenu.Length > 0)
            {
                <ul id="page-menu">
                    @foreach (MvcHtmlString pageMenuItem in ViewBag.PageMenu)
                    {
                        <li>@pageMenuItem</li>
                    }
                </ul>
            }
			@RenderBody()
		</div> <!-- content -->
	</div>

	<div id="sidebar">
		<div class="widget">
			<h2>Actions</h2>
			<ul>
                <li>@Html.ActionLink("Solutions", "Index", "Solution")</li>
                <li>@Html.ActionLink("Problems", "Index", "Problem")</li>
                <li>@Html.ActionLink("Home", "Index", "Home")</li>
                <li>@Html.ActionLink("User Administration", "Index", "UserAdministration", new { area = "MvcMembership" }, new { })</li>
                <li>@Html.ActionLink("About", "About", "Home")</li>
                <li>@Html.ActionLink("Change password", "ChangePassword", "Account")</li>
			</ul>
		</div> <!-- widget -->
        <div class="widget">
            @Html.Action("ServerStatus", "Widgets")
        </div> <!-- widget -->
	</div> <!-- sidebar -->

</div> <!-- main -->

</div> <!-- wrapper -->

<div id="footer">
	<div id="footer-inside">
		<div id="footer-left">
			Coticula &copy; 2011
		</div> <!-- footer-left -->
		<div id="footer-right">
				<a href="#">Team</a> |
				<a href="#">Contact Us</a>
			</div> <!-- footer-right -->
	</div> <!-- footer-inside -->
</div> <!--footer-->     

    </body>
</html>
